import request from '@/utils/request'

// 登陆
export const loginApi = (data) => request({
  url: '/api/user-service/user/login',
  method: 'POST',
  data
})

// 获取用户信息
export const userInfoApi = (id) => request({
  url: `/api/user-service/user/${id}`
})
